package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公开信息对象 service_open
 * 
 * @author yepanpan
 * @date 2025-04-21
 */
@Data
public class ServiceOpen extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 区域 */
    @Excel(name = "区域")
    private String deptName;
    @NotNull
    private Long deptId;

    /** 类别 */
    @Excel(name = "类别", dictType="open_service_type", comboReadDict=true)
    @NotNull
    private String type;

    /** 标题 */
    @Excel(name = "标题")
    @NotNull
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date endDate;

    /** PDF文件 */
    @Excel(name = "PDF文件")
    private String pdfFile;


}
